package edu.xpu.compute.recommend.entity;

import java.util.Date;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

@Getter
@Setter
@NoArgsConstructor
@Entity(name="SysUser")
@Table(name="SYS_USER")
public class SysUser {
	
	@Id
	private Long id;
	/*
	 * 用户名称
	 */
	private String name;
	/*
	 * 用户登录密码
	 */
	private String pwd;
	/*
	 * 性别
	 * 0: 女生
	 * 1: 男生
	 */
	private Integer sex;
	/*
	 * 学号
	 */
	private String studentNumber;
	/*
	 * 用户创建时间
	 */
	private Date createDate;
	/*
	 * 用户备注
	 */
	private String remarks;
	/*
	 * 学生院系
	 */
	private String facultyName;
	private String facultyGuid;
	/*
	 * 学生专业
	 */
	private String majorName;
	private String majorGuid;
	
	public SysUser(String name, String pwd, Integer sex, String studentNumber,
			String facultyName, String majorName) {
		super();
		this.name = name;
		this.pwd = pwd;
		this.sex = sex;
		this.studentNumber = studentNumber;
		this.facultyName = facultyName;
		this.majorName = majorName;
	}

}
